#include "map.h"

using namespace::std;

mapHandler::mapHandler()
{
    cerr << "ici";
    m_maploader.loadMap("testmap.tmx");
    cerr << "la" << endl;
}

void mapHandler::update(graphics *graphs)
{
    cerr << "update" << endl;
    m_maploader.draw(graphs);
    cerr << "afterdraw" << endl;
}

mapHandler::~mapHandler()
{
    //dtor
}
